package unilearn.vo;

public class SubjectStudent implements java.io.Serializable {

    private Integer id;
    private String subjectCode;
    private int personId;

    public SubjectStudent() {
        id = -1;
        personId = -1;
    }

    public SubjectStudent(String subjectCode, int personId) {
        this.subjectCode = subjectCode;
        this.personId = personId;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSubjectCode() {
        return this.subjectCode;
    }

    public void setSubjectCode(String subjectCode) {
        this.subjectCode = subjectCode;
    }

    public int getPersonId() {
        return this.personId;
    }

    public void setPersonId(int personId) {
        this.personId = personId;
    }

    @Override
    public String toString() {
        return "SubjectStudent{" + "id=" + id + ", subjectCode=" + subjectCode + ", personId=" + personId + '}';
    }
}
